package com.ny.zmb.openapi.ysutil.from;


import com.ny.zmb.openapi.ysutil.annotation.*;
import com.ny.zmb.openapi.ysutil.base.BaseBizReqCommand;

/**
 * <P>钱包用户注册请求</P>
 * @version $Id$
 * @user linxl  2022年3月16日 上午10:25:25
 */
public class WalletRegisterReqCommand extends BaseBizReqCommand {

	/**
	 * TODO
	 */
	private static final long serialVersionUID = 1568358867867327395L;

	// 业务请求号
	@NotBlank(message = "业务请求号不能为空")
	@Length(max = 32, message = "业务请求号最大长度不能超过50个字符")
	private String requestNo;

	// 姓名
	@NotBlank(message = "姓名不能为空")
	@Length(max = 20, message = "姓名最大长度不能超过20个字符")
	private String name;

	// 证件号码
	@NotBlank(message = "证件号码不能为空")
	@Length(max = 50, message = "证件号码最大长度不能超过50个字符")
	private String certNo;

	// 证件类型：01-身份证
	@NotBlank(message = "证件类型不能为空")
	@Pattern(regexp = "[01]{2}", message = "证件类型错误,只能是01")
	private String certType;

	// 手机号
	@NotBlank(message = "手机号不能为空")
	@Length(max = 11, message = "手机号最大长度不能超过11个字符")
	private String mobile;

	public String getRequestNo() {
		return requestNo;
	}

	public void setRequestNo(String requestNo) {
		this.requestNo = requestNo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCertNo() {
		return certNo;
	}

	public void setCertNo(String certNo) {
		this.certNo = certNo;
	}

	public String getCertType() {
		return certType;
	}

	public void setCertType(String certType) {
		this.certType = certType;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

}
